package cj.web.portal.dao;
/*
 *  
 *  
*/
import net.paoding.rose.jade.annotation.DAO;
import net.paoding.rose.jade.annotation.SQL;
import cj.web.kly.domain.Columns;

/**
 * 
 * @author 
 *
 */
@DAO
public interface ColumnsVoDAO{
	
    @SQL("SELECT a.*,b.name as pName FROM Columns a left join Columns b on a.pid=b.id WHERE a.id=:1 ")
    Columns queryById(int id);
}